interface Girl {
  name: string
  age: number
  bust: number
  waistLine?: number
}
const girl = {
  name: '胭脂',
  age: 19,
  bust: 100,
}

type Gril1 = string

const ScreenResume = (girl: Girl) => {
  girl.age < 24 && girl.bust >= 90 && console.log(girl.name + '进入面试')
  girl.age >= 24 || (girl.bust < 90 && console.log(girl.name + '你被淘汰了'))
}

const getResume = (girl: Girl) => {
  console.log(girl.name + '年龄是' + girl.age)
  console.log(girl.name + '胸围是' + girl.bust)
  girl.waistLine && console.log(girl.name + '腰围值' + girl.waistLine)
}

ScreenResume(girl)
getResume(girl)
